package com.struts.business.service;

import com.struts.business.formbean.UserForm;
import com.struts.core.annotation.Service;

@Service
public class UserServiceImpl {
	
	public boolean isAdmin(UserForm user){
		boolean tag = false;
		if("admin".equals(user.getUsername())){
			tag = true;
		}else{
			tag = false;
		}
		return tag;
	}
	
	

}
